You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > MatrixInt Structure > MatrixInt Methods > CumSum Method > MatrixInt.CumSum Method ([In] TMtxVecInt, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MatrixInt.CumSum Method ([In] TMtxVecInt, int, int, int)

Calculate the cumulative sum for Vec elements [VecIndex]..[VecIndex+Len-1].

Syntax
C#
Visual Basic
public TMtxVecInt CumSum([In] TMtxVecInt Vec, int VecIndex, int Index, int Len);

Store the results in calling object elements [Index]..[Index+Len-1]. Size and IntPrecision properties of the calling object must be set explicitly. Exception is raised if ConditionCheck property is True and array borders are overrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!